package com.qdlc.p2p.dal.model;

import org.springframework.beans.BeanUtils;

import com.qdlc.p2p.dal.dto.UserBaseInfo;

/**
 * 用户基本信息
 * 
 * @author yy
 * @version 1.0
 */
public class UserBaseInfoModel extends UserBaseInfo {
	/**
	 * 用户名
	 */
	private String userName;

	public static UserBaseInfoModel instance(UserBaseInfo userBaseInfo) {
		UserBaseInfoModel userBaseInfoModel = new UserBaseInfoModel();
		BeanUtils.copyProperties(userBaseInfo, userBaseInfoModel);
		return userBaseInfoModel;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	
}
